﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XML_Programming_Assignment.Class
{
    class Product
    {
        private string ProductID;
        private string ProductName;
        private string Manufacturer;
        private string Category;
        private double CurrentPrice;
        private int UnitsInStock;
        private int UnitsToOrder;
        private int ReorderLevel;

        public Product(string ProductID, string ProductName, string Manufacturer, string Category, double CurrentPrice, int UnitsInStock, int UnitsToOrder, int ReorderLevel)
        {
            this.ProductID = ProductID;
            this.ProductName = ProductName;
            this.Manufacturer = Manufacturer;
            this.Category = Category;
            this.CurrentPrice = CurrentPrice;
            this.UnitsInStock = UnitsInStock;
            this.UnitsToOrder = UnitsToOrder;
            this.ReorderLevel = ReorderLevel;
        }

        public string ProductID1
        {
            get { return ProductID; }
            set { ProductID = value; }
        }

        public string ProductName1
        {
            get { return ProductName; }
            set { ProductName = value; }
        }

        public string Manufacturer1
        {
            get { return Manufacturer; }
            set { Manufacturer = value; }
        }

        public string Category1
        {
            get { return Category; }
            set { Category = value; }
        }

        public double CurrentPrice1
        {
            get { return CurrentPrice; }
            set { CurrentPrice = value; }
        }

        public int UnitsInStock1
        {
            get { return UnitsInStock; }
            set { UnitsInStock = value; }
        }

        public int UnitsToOrder1
        {
            get { return UnitsToOrder; }
            set { UnitsToOrder = value; }
        }

        public int ReorderLevel1
        {
            get { return ReorderLevel; }
            set { ReorderLevel = value; }
        }
    }
}
